package io.bluerain.android.sdk.update.core.service;

import io.bluerain.android.sdk.update.core.entities.Log;
import io.bluerain.android.sdk.update.core.entities.Result;
import retrofit.Call;
import retrofit.http.GET;
import retrofit.http.Path;
import retrofit.http.QueryMap;

import java.util.Map;

/**
 * Created by foredawn on 15-9-20.
 * 更新服务接口
 */
public interface IUpdateService {

    @GET("/api/v1/app/{package}/update")
    Call<Result<Log>> getLast(@Path("package") String packageName, @QueryMap Map<String, String> options);
}
